package com.sqx.modules.errand.controller.admin;

import com.sqx.common.utils.Result;
import com.sqx.modules.errand.service.EvaluateService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/adminevaluate")
@Api(value = "管理端", tags = {"我的评价"})
public class  AdminEvaluateController {

    @Autowired
    private EvaluateService evaluateService;

    @ApiOperation("我的评价")
    @GetMapping(value = "selectEvaluate")
    public Result selectEvaluate(Integer page, Integer limit,String nickName,String riderName,Long userId,Long riderUserId,String satisfactionFlag,String indentNumber){
        return evaluateService.selectEvaluate(page, limit, nickName, riderName, userId,riderUserId, satisfactionFlag, indentNumber);
    }


}
